// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import "./assets/css/common.css";


Vue.config.productionTip = false


import VueI18n from 'vue-i18n';
Vue.use(VueI18n); 

Vue.use(ElementUI);

import fullCalendar from 'vue-fullcalendar';
import $ from 'jquery'

Vue.component('full-calendar', fullCalendar)

/* eslint-disable no-new */
const i18n = new VueI18n({ 
  locale: 'zh', // 语言标识 
  messages: { 
   'zh': require('./assets/lang/zh'), 
   'en': require('./assets/lang/en') 
  } 
});
new Vue({
  el: '#app',
  router,
  i18n,
  components: { App },
  template: '<App/>'
})
